Color.findColorObjectByName Method

Returns a named color by name, if available.
 
 
Static This method is static.

Parameters

searchName

Type: String
The name of the color to look for.

Return Value


Type: Object - May be null
A plain object with properties:
     name    [type: String]      - The name of the color.
     value   [type: Number]      - The RGB value as an integer.